package com.xwm.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xwm
 * @email 2825902051@qq.com
 * @date 2021/6/27 0027
 * @time 11:24
 */

@Component
@ConfigurationProperties(prefix = "qq-email")
public class MyMailProperties {
    public String from;
    public String to;

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }
}
